package com.zhuiyi.springbootmybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//getter setter 方法
@Data
//无参构造器
@NoArgsConstructor
//全参!!!构造器
@AllArgsConstructor
public class User {
    private int id;
    private String username;
    private String password;
    public User(String username,String password){
       this.username = username;
       this.password = password;
    }
}
